package entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * AbstractUser entity provides the base persistence definition of the User
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer score;
	private boolean verify;
	private BigDecimal salary;
	private Date hireDate;
	private Date hireDate2;
	private Date hireDate3;
	
	private Integer version;

	// Constructors

	/** default constructor */
	public AbstractUser() {
	}

	/** full constructor */
	public AbstractUser(String name, Integer score, boolean verify,
			BigDecimal salary, Date hireDate, Date hireDate2, Date hireDate3) {
		this.name = name;
		this.score = score;
		this.verify = verify;
		this.salary = salary;
		this.hireDate = hireDate;
		this.hireDate2 = hireDate2;
		this.hireDate3 = hireDate3;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Date getHireDate() {
		return this.hireDate;
	}

	public void setHireDate(Date hireDate) {
		this.hireDate = hireDate;
	}

	public Date getHireDate2() {
		return this.hireDate2;
	}

	public void setHireDate2(Date hireDate2) {
		this.hireDate2 = hireDate2;
	}

	public Date getHireDate3() {
		return this.hireDate3;
	}

	public void setHireDate3(Date hireDate3) {
		this.hireDate3 = hireDate3;
	}

	public boolean isVerify() {
		return verify;
	}

	public void setVerify(boolean verify) {
		this.verify = verify;
	}

	public BigDecimal getSalary() {
		return salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

	@Override
	public String toString() {
		return "AbstractUser [hireDate=" + hireDate + ", hireDate2="
				+ hireDate2 + ", hireDate3=" + hireDate3 + ", id=" + id
				+ ", name=" + name + ", salary=" + salary + ", score=" + score
				+ ", verify=" + verify + "]";
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

}